//
//  JYHomeLeftCell.m
//  JYShop
//
//  Created by 花花 on 2017/9/28.
//  Copyright © 2017年 花花. All rights reserved.
//

#import "JYHomeLeftCell.h"

@implementation JYHomeLeftCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.textLabel.textColor = [UIColor blackColor];
    self.textLabel.font = [UIFont systemFontOfSize:13];
    self.textLabel.textColor = kThemeColor;
    self.textLabel.textAlignment = NSTextAlignmentCenter;
    
}
- (void)setModel:(JYChildrenListMoel *)model{

    _model = model;
    self.textLabel.text = model.name;
    
    if (model.selectedFlag) {
    
        
        self.textLabel.textColor = kThemeColor;
        self.selectedIndicator.hidden = NO;
    }else{
        self.textLabel.textColor = [UIColor blackColor];
        self.selectedIndicator.hidden = YES;
    
    
    }
}




@end
